/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package app.net.messages;

import app.net.Message;

/**
 *
 * contains all the input variables
 * 
 * @author skyr
 */
public class InputMessage extends Message {

    private boolean leftClickPressed;
    private boolean rightClickPressed;
    private boolean leftPressed;
    private boolean rightPressed;
    private boolean jumpPressed;
    private long delta;

    public InputMessage(boolean leftClickPressed, boolean rightClickPressed, boolean leftPressed, boolean rightPressed, boolean jumpPressed, long delta) {
        this.leftClickPressed = leftClickPressed;
        this.rightClickPressed = rightClickPressed;
        this.leftPressed = leftPressed;
        this.rightPressed = rightPressed;
        this.jumpPressed = jumpPressed;
        this.delta = delta;
    }
    
    public boolean isJumpPressed() {
        return jumpPressed;
    }

    public void setJumpPressed(boolean jumpPressed) {
        this.jumpPressed = jumpPressed;
    }

    public boolean isLeftClickPressed() {
        return leftClickPressed;
    }

    public void setLeftClickPressed(boolean leftClickPressed) {
        this.leftClickPressed = leftClickPressed;
    }

    public boolean isLeftPressed() {
        return leftPressed;
    }

    public void setLeftPressed(boolean leftPressed) {
        this.leftPressed = leftPressed;
    }

    public boolean isRightClickPressed() {
        return rightClickPressed;
    }

    public void setRightClickPressed(boolean rightClickPressed) {
        this.rightClickPressed = rightClickPressed;
    }

    public boolean isRightPressed() {
        return rightPressed;
    }

    public void setRightPressed(boolean rightPressed) {
        this.rightPressed = rightPressed;
    }

    public long getDelta() {
        return delta;
    }

    public void setDelta(long delta) {
        this.delta = delta;
    }
}
